package fr.afcepf.atod18.fw.exception;

public class FwException extends Exception {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private int codeErreur;

    public FwException(String mess, int code) {
        super("Erreur Framework mvc2 : " + mess);
        codeErreur = code;
    }

    public final int getErrorCode() {
        return codeErreur;
    }

}
